<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <title>New Graph api & Javascript Base FBConnect Tutorial | Turnitaround.co.za</title>
    </head>
    <body>
	<form action="https://graph.facebook.com/me/feed" method="post">
        <div id="fb-root"></div>

        <h3>New Graph api & Javascript Base FBConnect Tutorial | Turnitaround.co.za</h3>
        <p><fb:login-button autologoutlink="true" perms="email,user_birthday,status_update,publish_stream"></fb:login-button></p>

        <p>
            <a href="#" onclick="showStream(); return false;">Publish Wall Post</a> |
            <a href="#" onclick="share(); return false;">Share With Your Friends</a> |
            <a href="#" onclick="graphStreamPublish(); return false;">Publish Stream Using Graph API</a> |
            <a href="#" onclick="fqlQuery(); return false;">FQL Query Example</a>
        </p>
	<input name="access_token" type="text" value="<?php echo $access_token ?>" />
        <textarea id="message" name="message" cols="50" rows="5">turn it around</textarea>
        <br />
        <a href="#" onclick="setStatus(); return false;">Status Set Using Legacy Api Call</a>

        <br /><br /><br />
        <div id="login" style ="display:none"></div>
        <div id="name"></div>
	<input type="submit"/>
	<form>
    </body>
</html>
